// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:30

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   up.java

package com.zelix;

import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.EventObject;
import javax.swing.AbstractButton;
import javax.swing.text.JTextComponent;

// Referenced classes of package com.zelix:
//            t2, tb

final class up
    implements ItemListener
{

    private final t2 a;

    up(t2 t2_1)
    {
        a = t2_1;
    }

    public void itemStateChanged(ItemEvent itemevent)
    {
label0:
        {
            Object obj = itemevent.getSource();
            if(obj == a.r)
            {
                a.u.setEnabled(a.r.isSelected());
                a.v.setEnabled(a.r.isSelected());
                if(a.r.isSelected())
                    break label0;
                a.u.select(0, 0);
                if(!tb.b)
                    break label0;
            }
            if(obj == a.s)
            {
                a.w.setEnabled(a.s.isSelected());
                a.x.setEnabled(a.s.isSelected());
                if(!a.s.isSelected())
                    a.w.select(0, 0);
            }
        }
    }
}